package com.example.personal.aiagent.chat.model.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NonNull;

import javax.validation.constraints.Size;

/**
 * 聊天请求
 */
@Data
public class ChatRequest {
    @JsonProperty("content")
    @NonNull @Size(min = 1, max = 1000, message = "content length should between 1-1000")
    String content = "Hi";
}
